<#include "../inc/layout.html"/>
<@layout title=(selfCate.name)!''>
<div class="w1240">
    <div class="contentNav">
        <nav class="nav f14 mt20"><b>您的位置：</b><a href="/">首页</a> <#if selfCate.pname??>· <a href="${web_domain!}/article/list/${selfCate.pcode!}">${selfCate.pname!}</a></#if>· <a href="${web_domain!}/article/list/${selfCate.code!}">${selfCate.name!}</a></nav>
    </div>
    <section class="focus">
        <ul class="focusList clearfix">
            <#if page?? && page.list??>
                <#list page.list as p >
                <li <#if (p_index+1)%2==1>class="alternative"</#if>>
                    <div class="tn">
                        <h3><a href="/article/view/${p.id}" target="_blank">${p.title!}</a></h3>
                        <p><#if p.summary?length gt 40>${p.summary?substring(0,40)}...<#else>${p.summary!}</#if></p>
                        <div class="time">${p.create_datetime?string('yyyy-MM')}</div>
                    </div>
                </li>
                </#list>
            </#if>
        </ul>
        <div class="page">
            <div  id="ContentPlaceHolder1_divpage" style="float:right;"></div>
        </div>
    </section>
</div>
<div style="clear: both">
</div>
<script>
    $(function(){
        laypage({
            cont: 'ContentPlaceHolder1_divpage',
            pages:${page.totalPage!1},
            curr:${page.pageNumber!1},
            jump: function (obj, first) {
                if (!first) {
                    window.location.href="/article/list/${p1}-"+obj.curr;
                }
            }
        });
    });
</script>
</@layout>